package Boundary;
import javax.swing.*;
import java.awt.*;
/**
 *Description: Initialize frame
 * @author Group77
 * @version 4.0
 * @description initialize the Jframe
 */
public class Overall {
    JFrame jfr = new JFrame();
    GridBagLayout gbl = new GridBagLayout();
    GridBagConstraints gbc = new GridBagConstraints();
    JPanel panel1 = new JPanel();
    JPanel panel2 = new JPanel();
    JPanel panel3 = new JPanel();
    JPanel panel4 = new JPanel();
    JPanel panel5 = new JPanel();
    JPanel panel6 = new JPanel();
    JPanel panel7 = new JPanel();
    JPanel panel8 = new JPanel();
    JPanel panel9 = new JPanel();
    JPanel panel10 = new JPanel();
    public JTable table1;

    /**
     * initialize the Jframe
     * @param title: the name of each frame
     */
    public Overall(String title) {
        jfr.setLayout(gbl);
        jfr.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        gbc.fill = GridBagConstraints.BOTH;
        jfr.setSize(1000, 600);
        jfr.setVisible(true);
        jfr.setTitle(title);

    }
}
